package cn.wolfcode.trip.core.mapper;

import cn.wolfcode.trip.core.domain.StrategyCatalog;
import cn.wolfcode.trip.core.domain.StrategyComment;
import cn.wolfcode.trip.core.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StrategyCommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StrategyComment record);

    StrategyComment selectByPrimaryKey(Long id);

    List<StrategyComment> selectAll();

    int updateByPrimaryKey(StrategyComment record);

    List<StrategyCatalog> selectForList(QueryObject qo);

    void insertRelation(@Param("commentId") Long commentId, @Param("tagId") Long tagId);
}